<!--
        *前台首页除去头脚部分
        * 
        *
        * @author     3+1项目组.hzy
        * @version    2018-02-02 09:48    
-->
    <div class="side-category" style="display: none;">
        <div class="side-category-tit">全品分类</div>
        <div class="side-category-bd">
            {foreach name="cate" item="value"}
            <div class="f-item">
                <div class="f-box">
                    <div class="f-tit">
                        <a href="/homelist/index/id/{$value['id']}">{$value['name']}</a>
                    </div>
                    
                    <div class="f-list">
                        {foreach name="value['shop']" item="val"}
                        <a href="/homelist/index/id/{$val['id']}">{$val['name']}</a>
                        {/foreach}
                    </div>
                    
                </div>
                <div class="c-box">
                    <div class="hd">分类</div>
                    <div class="bd">
                        <div class="list-wrap">
                            
                            {foreach name="value['shop']" item="val"}
                            {foreach name="val['shop']" item="v"} 
                            <a href="/homelist/index/id/{$v['id']}">{$v['name']}</a>
                            {/foreach}
                            {/foreach}
                               
                        </div>
                    </div>
                    <div class="ft">
                        <a href=""><img class="ad" src="/public/static/homes/uploads/10.jpg" /></a>
                    </div>
                </div> 
            </div>
            {/foreach}
        </div>
        <div class="side-category-ft" data-action="category-toggle">
            <span class="label tohide">收起导航</span>
            <span class="label toshow">展开导航</span>
        </div>
    </div>
    {:widget("Banner/banner")}
   

    <div class="gray-box">
        <div class="wrapper">
            <!-- 商品促销 -->
            <div class="promo-list clearfix">
                <div class="col">
                    <a class="item" href=""><img src="/public/static/homes/uploads/13.jpg" alt="" /></a>
                </div>
                <div class="col">
                    <a class="item" href=""><img src="/public/static/homes/uploads/14.jpg" alt="" /></a>
                </div>
                <div class="col">
                    <a class="item" href=""><img src="/public/static/homes/uploads/15.jpg" alt="" /></a>
                </div>
                <div class="col">
                    <a class="item" href=""><img src="/public/static/homes/uploads/16.jpg" alt="" /></a>
                </div>
            </div>

            <!-- 限时抢购 -->
            <div class="flash-sale-section">
                <div class="section-hd">
                    <div class="title">限时抢购</div>
                </div>
                <div class="flash-sale clearfix">
                    {foreach name="goods1" item="val"}
                    <div class="grid grid-s">
                        <a href="/homegoods/index/id/{$val['id']}">
                            <div class="inner-text">
                                <div class="tit">{$val['name']}</div>
                            </div>
                            <img src="{$val['pic']}" alt="" />
                        </a>
                    </div>
                    {/foreach}
                </div>
            </div>

        </div>
    </div>

    <div class="white-box">
        <div class="wrapper">
            <!-- 品牌盛宴 -->
            <div class="brand-feast-section">
                <div class="section-hd">
                    <a href="/homelist/index"><div class="title">品牌盛宴</div></a>
                </div>
                <div class="brand-feast clearfix">
                    <div class="brand-feast-list" style="width:100%;float:right">
                        {foreach name="brands" item="r"}
                        <div class="item">
                            <div class="logo"><img src="{$r['pic']}" alt="" /></div>
                            <a class="mask" href=""><span class="text">九阳<br />爆款直降低至49元</span></a>
                        </div>
                        {/foreach}
                    </div>
                </div>
                <!-- 广告 -->
                {:widget("Ads/ads")}
                
            </div>
        </div>
    </div>

    <div class="gray-box">
        <div class="wrapper floor-wrap">
            <!-- floor1到floor5控制楼层的主题 -->
            <div class="floor-section floor1">
                <div class="section-hd">
                    <div class="title">3C数码</div>
                    <div class="bar more">
                        {foreach name="cate4" item="val"}
                            <a href="">{$val['name']}</a>
                        {/foreach}
                    </div>
                </div>
                <div class="flash-sale clearfix">
                    {foreach name="goods2" item="val"}
                    <div class="grid grid-s">
                        <a href="/homegoods/index/id/{$val['id']}">
                            <div class="inner-text">
                                <div class="tit">{$val['name']}</div>
                            </div>
                            <img src="{$val['pic']}" alt="" />
                        </a>
                    </div>
                    {/foreach}
                </div>
            </div>

            <div class="floor-section floor4">
                <div class="section-hd">
                    <div class="title">商城超市</div>
                    <div class="bar more">
                        {foreach name="cate5" item="val"}
                            <a href="">{$val['name']}</a>
                        {/foreach}
                    </div>
                </div>
                <div class="flash-sale clearfix">
                    {foreach name="goods3" item="val"}
                    <div class="grid grid-s">
                        <a href="/homegoods/index/id/{$val['id']}">
                            <div class="inner-text">
                                <div class="tit">{$val['name']}</div>
                            </div>
                            <img src="{$val['pic']}" alt="" />
                        </a>
                    </div>
                    {/foreach}
                </div>
            </div>

        </div>
    </div>
